Crate descriptors
source · [−]Expand description
General workflow for working with ScriptPubkey* types:
Template -> Descriptor -> Structure -> PubkeyScript -> TxOut
TxOut -> PubkeyScript -> Descriptor -> Structure -> Format
Modules
Relative and absolute time locks on transactions
Structs
Allows creating templates for native bitcoin scripts with embedded key generator templates. May be useful for creating descriptors in situations where target script can’t be deterministically represented by miniscript, for instance for Lightning network-specific transaction outputs
Enums
Descriptors exposing bare scripts (unlike miniscript::Descriptor
which
uses miniscript representation of the scripts).
Descriptor parse error
Errors indicating variants of misformatted or unsupported (future)
pubkeyScript